Skip to content

Add solution for Challenge 18 by WHFF521#1891

Merged
github-actions[bot] merged 1 commit into
RezaSi:mainfrom
WHFF521:challenge-18-WHFF521
Jul 16, 2026
Merged

Add solution for Challenge 18 by WHFF521#1891
github-actions[bot] merged 1 commit into
RezaSi:mainfrom
WHFF521:challenge-18-WHFF521

Conversation

@WHFF521

@WHFF521 WHFF521 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Challenge 18 Solution

Submitted by: @WHFF521
Challenge: Challenge 18

Description

This PR contains my solution for Challenge 18.

Changes

  • Added solution file to challenge-18/submissions/WHFF521/solution-template.go

Testing

  • Solution passes all test cases
  • Code follows Go best practices

Thank you for reviewing my submission! 🚀

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fba4888b-2156-41ff-9855-cbd60f668888

📥 Commits

Reviewing files that changed from the base of the PR and between 8522a72 and 0db3476.

📒 Files selected for processing (1)
  • challenge-18/submissions/WHFF521/solution-template.go

Walkthrough

Challenge 18 now includes Go functions for Celsius/Fahrenheit conversion, a reusable decimal rounding helper, and example conversions printed by main.

Changes

Temperature Conversion

Layer / File(s) Summary
Conversion functions and rounding
challenge-18/submissions/WHFF521/solution-template.go
Adds Celsius-to-Fahrenheit and Fahrenheit-to-Celsius conversions, rounds results to two decimal places with Round, and prints example results from main.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Poem

A bunny hopped through numbers bright,
From Celsius chill to Fahrenheit light.
Two decimals neatly tucked away,
While examples print to greet the day.
“Hop, hop—conversions work just right!”

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding WHFF521's Challenge 18 solution.
Description check ✅ Passed The description matches the changeset and correctly describes the Challenge 18 solution submission.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies"


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions
github-actions Bot merged commit abfdcd5 into RezaSi:main Jul 16, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Auto-merged!

This PR was automatically merged after 2 days with all checks passing.

Thank you for your contribution, @WHFF521!

📊 Scoreboards and badges will be updated shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant